#include "myinterface.h"
#include "ui_myinterface.h"

Myinterface::Myinterface(QWidget *parent) :
    QMainWindow(parent),
    ui(new Ui::Myinterface)
{
    ui->setupUi(this);

}

Myinterface::~Myinterface()
{
    delete ui;
}

void Myinterface::paintEvent(QPaintEvent *)
{
    QPainter painter(this);
    QPixmap pix(":/new/prefix2/picture_tubiao/beijing2.png");
    painter.drawPixmap(0, 0, pix);
}
